package com.pojo;

import lombok.*;

@Setter
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private String name;
    private int age;

//    public User() {
//    }
//
//    public User(String name, int age) {
//        this.name = name;
//        this.age = age;
//    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
